<?php
/**
 * @author 天涯 <mail@phpha.com>
 * @copyright http://blog.phpha.com
 * @link http://blog.phpha.com/vncms
 * @version 1.0
 */
defined('APP_PATH') or exit('Access Denied');
require 'check.php';
class site extends check{
	//网站统计
	public function info(){
		$this->display('site_info.tpl.php');
	}
	//登陆日志
	public function logs(){
		$this->logs = spClass('m_logs')->spLinker()->spPager($this->spArgs('page',1),15)->findAll(null,'id DESC');
		$this->pager = spClass('m_logs')->spPager()->getPager();
		$this->display('site_logs.tpl.php');
	}
	//更新缓存
	public function cache(){
		$this->error('该功能暂停使用！');
	}
}
